// 自动上传代码到服务器
let client = require('scp2')
client.scp('./dist', {
    host: '121.41.51.167',
    username: 'root',
    password: 'k9YWTyAAowMM4sn',
    port: 22000,
    path: '/opt/www/web/yzh.user'
}, function (err) {
    if (err) {
        console.log(err)
    } else {
        console.log('成功上传到121.41.51.167')
    }
})
